#ifndef NF_SOCS_STR_UTILS_H
#define NF_SOCS_STR_UTILS_H

int str_to_addr4(const char *str, struct in_addr *result);
int str_to_addr6(const char *str, struct in6_addr *result);
int str_to_u32(const char *str, __u32 *u32_out, __u32 min, __u32 max);
int str_to_ipv6_prefix(const char *str, struct ipv6_prefix *prefix_out);

#endif
